﻿<Application
    x:Class="EagleGO.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EagleGO">

    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>

                <!-- 
                    用于定义平台外观的共同方面的样式
                    Visual Studio 项目和项模板所必需的
                 -->
                <ResourceDictionary Source="Common/StandardStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <x:String x:Key="TomKiFUListUrl">http://weiqi.tom.com/php/listqipu{0}.html</x:String>
            <x:String x:Key="AppName">EagleGo</x:String>
            <DataTemplate x:Key="KiFU250x250ItemTemplate">

                <local:KiFUInfoControl GameInfo="{Binding GameInfo}"></local:KiFUInfoControl>
            </DataTemplate>
            <DataTemplate x:Key="KiFU80ItemTemplate">
                <StackPanel>
                    <TextBlock Text="{Binding GameInfo.BlackPlayer.Name}" Style="{StaticResource ItemTextStyle}" MaxHeight="40"/>
                    <TextBlock Text="{Binding GameInfo.WhitePlayer.Name}" Style="{StaticResource ItemTextStyle}" MaxHeight="40"/>

                </StackPanel>
            </DataTemplate>
            <local:MoveStringConverter x:Key="moveStringConverter"/>
            <local:SubGamesVisibilityConverter x:Key="visibilityConverter"/>

        
        </ResourceDictionary>
    </Application.Resources>
</Application>
